def ihrm_assert(resp,status_code,success,code,msg,data=None):
    assert status_code == resp.status_code
    assert success == resp.json()["success"]
    assert code == resp.json()["code"]
    assert msg in resp.json()["message"]
    if data is not None:
        assert data in str(resp.json()['data'])

